package com.huan.thread;

public class ThreadA {
    public synchronized void notifyAll0() {
        notifyAll();
    }

    public synchronized void notify0() {
        notify();
    }

    public synchronized void wait0() {

        try {
            wait();
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }

    }

}
